<template>
	<view class="tbSuccessTips">
		<view class="main">
			<view class="title"> 您已投入相应数额，无需再次投币 </view>
			<view class="money_total"> 是否进行找零</view>
			<div class="btn_box">
				<view
					class="btn"
					@click="confirm"
					>确定</view
				>
			</div>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	mounted() {},
	methods: {
		jump(data) {
			let url = '';
			switch (data) {
				case 'service':
					url = '/pages/service/service';
					break;
				default:
			}
			uni.navigateTo({ url });
		},
		cancel() {},
		confirm() {
			this.$emit('zlSubmit');
		},
	},
};
</script>

<style lang="scss" scoped>
.tbSuccessTips {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	.main {
		// width: 100%;
		// height: 100%;
		padding: 30rpx 60rpx;
		border: 2rpx solid $uni-color-green;
		border-radius: 10rpx;
		color: $uni-color-green;
		background-color: $uni-color-white;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		.title {
			width: 400rpx;
			height: 150rpx;
			text-align: center;
			line-height: 150rpx;
		}
		.money_total {
			height: 100rpx;
			text-align: center;
			line-height: 100rpx;
		}
		.btn_box {
			width: 400rpx;
			height: 100rpx;
			display: flex;
			justify-content: space-between;

			.btn {
				height: 30rpx;
				padding: 20rpx;
				line-height: 1;
				border-radius: 10rpx;
				color: $uni-color-white;
				background-color: $uni-color-green;
			}
		}
	}
}
</style>
